package org.springblade.mes.logistics.entry.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.springblade.mes.logistics.entry.entity.EntryMaterial;
import org.springblade.mes.logistics.entry.model.EntryMaterialBean;

import java.util.List;

@DS("logistics")
public interface EntryMaterialMapper extends BaseMapper<EntryMaterial> {

    List<EntryMaterialBean> queryList(@Param("entity") EntryMaterialBean entity);

    List<EntryMaterialBean> queryPageList(IPage page, @Param("entity") EntryMaterialBean entity);

}
